﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
    <script src="/Scripts/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
    <link href="/Scripts/lib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
    <script src="/Scripts/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
    <script src="/Scripts/lib/ligerUI/js/plugins/ligerTree.js" type="text/javascript"></script>
    <script type="text/javascript">
   

        $(function () {
            var tree = $("#tree1").ligerTree({
                url:'../../Manage/SortTree/Getdata',
                idFieldName: 'id',
                slide: false,
                parentIDFieldName: 'pid',
                single: false,
                isExpand: true,
                checkbox :false
            });
            treeManager = $("#tree1").ligerGetTreeManager();
            treeManager.collapseAll();

        });
    </script>

</head>
<body>
    <div style="width:500px; height:500px; margin:10px; float:left; border:1px solid #ccc; overflow:auto;  ">
        <ul id="tree1"></ul>
    </div>

    <div style="display:none">

    </div>
</body>
</html>
